package com.xkdx.guangguang.pushservice;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;

public class PushServiceAction extends AbsAction {
	String DeviceSN;

	public PushServiceAction(String DeviceSN) {
		
		this.DeviceSN = DeviceSN;
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("DeviceSN", DeviceSN);
		String json = constructJson(map);
		Parameter parameter = new Parameter("pushInterface",
				"getPushNotification", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);
	}

}
